﻿<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	x:Class="MyRecipeBook.V2.UI.Pages.PageDefinitions"
    Title="Definitions" 
	Background="{DynamicResource page_background}" 
	mc:Ignorable="d" 
	d:DesignWidth="500" 
	d:DesignHeight="500">
	<Page.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="/MyRecipeBook.V2.UI;Component/Themes/DefaultDictionary.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>	
	</Page.Resources>
    <Border>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition />
            </Grid.RowDefinitions>
            <TextBlock Text="Definitions"  Foreground="{DynamicResource page_heading_foreground}" FontSize="{DynamicResource page_heading_fontsize}" Grid.Row="0" Margin="{DynamicResource page_heading_margin}" FontFamily="{DynamicResource application_fontfamily}" FontWeight="{DynamicResource page_heading_fontweight}" HorizontalAlignment="{DynamicResource page_heading_halign}" VerticalAlignment="{DynamicResource page_heading_valign}" />

            <Border Grid.Row="1" Background="{DynamicResource page_contents_background}" Margin="{DynamicResource page_contents_margin}">
				<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
					<StackPanel>
                        
						<Expander Header="Measurements" FontFamily="{DynamicResource application_fontfamily}" Margin="{DynamicResource page_expander_margin}" BorderBrush="{DynamicResource page_expander_borderbrush}" IsExpanded="True" Padding="{DynamicResource page_expander_padding}" BorderThickness="{DynamicResource page_expander_border}">
							<StackPanel>
                                
								<ToolBar FontFamily="{DynamicResource application_fontfamily}">
									<Button Content="Add" FontFamily="{DynamicResource application_fontfamily}"/>
									<Button Content="Update" FontFamily="{DynamicResource application_fontfamily}"/>
									<Button Content="Remove" FontFamily="{DynamicResource application_fontfamily}"/>
								</ToolBar>
                                
								<ListBox x:Name="listBoxMeasurements" BorderThickness="{DynamicResource page_contents_expander_borderthickness}" Margin="{DynamicResource page_contents_expander_margin}" BorderBrush="{DynamicResource page_contents_expander_borderbrush}">
									<ListBox.ItemTemplate>
										<DataTemplate>
											<TextBlock Text="{Binding Name}" />
										</DataTemplate>
									</ListBox.ItemTemplate>
								</ListBox>
                                
							</StackPanel>
						</Expander>
                        
						<Expander Header="Cuisines" FontFamily="{DynamicResource application_fontfamily}" Margin="{DynamicResource page_expander_margin}" BorderBrush="{DynamicResource page_expander_borderbrush}" IsExpanded="True" Padding="{DynamicResource page_expander_padding}" BorderThickness="{DynamicResource page_expander_border}">
							<StackPanel>
                                
								<ToolBar FontFamily="{DynamicResource application_fontfamily}">
									<Button Content="Add" FontFamily="{DynamicResource application_fontfamily}"/>
									<Button Content="Update" FontFamily="{DynamicResource application_fontfamily}"/>
									<Button Content="Remove" FontFamily="{DynamicResource application_fontfamily}"/>
								</ToolBar>

                                <ListBox x:Name="listBoxCuisines" BorderThickness="{DynamicResource page_contents_expander_borderthickness}" Margin="{DynamicResource page_contents_expander_margin}" BorderBrush="{DynamicResource page_contents_expander_borderbrush}">
                                    <ListBox.ItemTemplate>
                                        <DataTemplate>
                                            <TextBlock Text="{Binding Name}" />
                                        </DataTemplate>
                                    </ListBox.ItemTemplate>
                                </ListBox>
                            </StackPanel>
						</Expander>
                        
						<Expander Header="Courses" FontFamily="{DynamicResource application_fontfamily}" Margin="{DynamicResource page_expander_margin}" BorderBrush="{DynamicResource page_expander_borderbrush}" IsExpanded="True" Padding="{DynamicResource page_expander_padding}" BorderThickness="{DynamicResource page_expander_border}">
							<StackPanel>
                                
								<ToolBar FontFamily="{DynamicResource application_fontfamily}">
									<Button Content="Add" FontFamily="{DynamicResource application_fontfamily}"/>
									<Button Content="Update" FontFamily="{DynamicResource application_fontfamily}"/>
									<Button Content="Remove" FontFamily="{DynamicResource application_fontfamily}"/>
								</ToolBar>

                                <ListBox x:Name="listBoxCourses" BorderThickness="{DynamicResource page_contents_expander_borderthickness}" Margin="{DynamicResource page_contents_expander_margin}" BorderBrush="{DynamicResource page_contents_expander_borderbrush}">
                                    <ListBox.ItemTemplate>
                                        <DataTemplate>
                                            <TextBlock Text="{Binding Name}" />
                                        </DataTemplate>
                                    </ListBox.ItemTemplate>
                                </ListBox>

                            </StackPanel>
						</Expander>

                        <Expander Header="Meals" FontFamily="{DynamicResource application_fontfamily}" Margin="{DynamicResource page_expander_margin}" BorderBrush="{DynamicResource page_expander_borderbrush}" IsExpanded="True" Padding="{DynamicResource page_expander_padding}" BorderThickness="{DynamicResource page_expander_border}">
                            <StackPanel>

                                <ToolBar FontFamily="{DynamicResource application_fontfamily}">
                                    <Button Content="Add" FontFamily="{DynamicResource application_fontfamily}"/>
                                    <Button Content="Update" FontFamily="{DynamicResource application_fontfamily}"/>
                                    <Button Content="Remove" FontFamily="{DynamicResource application_fontfamily}"/>
                                </ToolBar>

                                <ListBox x:Name="listBoxMeals" BorderThickness="{DynamicResource page_contents_expander_borderthickness}" Margin="{DynamicResource page_contents_expander_margin}" BorderBrush="{DynamicResource page_contents_expander_borderbrush}">
                                    <ListBox.ItemTemplate>
                                        <DataTemplate>
                                            <TextBlock Text="{Binding Name}" />
                                        </DataTemplate>
                                    </ListBox.ItemTemplate>
                                </ListBox>

                            </StackPanel>
                        </Expander>
                        
                    </StackPanel>
				</ScrollViewer>
			</Border>
        </Grid>
    </Border>
</Page>
